Run tests in all three debian/ build trees
authorRob Browning <rlb@defaultvalue.org>
Sun, 2 Oct 2016 20:12:32 +0000 (15:12 -0500)
committerRob Browning <rlb@defaultvalue.org>
Sun, 2 Oct 2016 20:12:32 +0000 (15:12 -0500)
debian/rules

index 93e5f922d296ab39e414feffe04853f1a7c430bb..61ff449c33a3133e09879f7a8be321f7dcacf0dd 100755 (executable)
@@ -360,6 +360,11 @@ override_dh_auto_build: $(autogen_build_files)
        $(call build_cmd,debian/build-nox)
        $(call build_cmd,debian/build-lucid)
 
+override_dh_auto_test:
+       $(MAKE) -C debian/build-lucid check
+       $(MAKE) -C debian/build-nox check
+       $(MAKE) -C debian/build-x check
+
 define install_common_binpkg_bits
   # args: (1) srcdir (2) pkgdir (3) pkgname (4) bin-suffix